﻿/****************************************
 *  copyright (c) 2008 leo shen
 *  
 *  all rights reserved         
 * 
 *  e-mail : syl.lucky@gmail.com
 * *************************************/

using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Xml;
using DotUpdater.Core;
using DotUpdater.Core.VersionGeters;
using DotUpdater.Core.Versions;
using DotUpdater.Core.CurrentFilesGeters;
using DotUpdater.Core.LocalFilesAccessors;

namespace DotUpdater.AppStart
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            new FrmWating().ShowDialog();
        }

        public static void OpenMainProgram()
        {            
            System.Diagnostics.Process.Start(System.IO.Path.Combine(System.Environment.CurrentDirectory, Configer.MainFile));
            Application.Exit();
        }
    }

    
}
